﻿@model PilotProject.TestToken
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_ExaminerLayout.cshtml";
}
     <link href="../../Content/items1/forms.css" rel="stylesheet" type="text/css" />   
     <script src="../../Scripts/testdate.js" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


@{
    Html.EnableClientValidation(true);
}


@using (Html.BeginForm("EditTestToken","ScheduleTest"))
{    
    

  <span style="color:Red">@Html.ValidationSummary()</span>
    
    
    
  <div id="form" class="myform" >

    <fieldset style="width:500px;height:380px;">
    
    <legend>Edit Test Token Details</legend>
    @Html.HiddenFor(model => model.Id)  
          
        <div class="pos">
        <label>JPA<span class="small">Candidate's JPA</span></label>
        <div><p> @Html.Label("@Model..Candidate.JPA") </p>   </div>
        </div>
   
    <div class="pos">
        <label>First Name<span class="small">Candidate's First Name</span></label>
        <div><p> @Html.Label("@Model.Candidate.FirstName")</p> </div>
    </div>
       
       <div class="pos">
        <label>Last Name<span class="small">Candidate's Last Name</span></label>
        <div ><p> @Html.Label("@Model.Candidate.LastName")</p></div>
       </div>
     

        <div class="pos">           
        <label>Date<span class="small">Test Date</span></label>
        <div >  <p>@Html.EditorFor(model => model.TestDate)</p></div>
        </div>
       
       <div class="pos">
        <label>Examiner's JPA<span class="small">Add Examiner's JPA</span></label>
        <div><p>@Html.EditorFor(model => model.Examiner.JPA)</p> </div>
       </div>     
       
        <div style="width:350px;height:20px;float:left;"></div><br />
     
        <p style="float:right;margin-bottom:5px;"><input type="submit" value="Save" class="saveBut"/> </p>
    
     </fieldset>
     </div>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

